HTMLify
style.css
Views: 14 | Author: huxn-webdev
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | * { padding: 0; margin: 0; box-sizing: border-box; } :root { --primary-color: rgb(210, 55, 55); --secondary-color: #e0e0e0; } body { font-family: sans-serif; display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100vh; overflow: hidden; margin: 0; background: linear-gradient(#ff3cac, #784ba0, #2b86c5); } .container { text-align: center; } .progress-container { display: flex; justify-content: space-between; position: relative; margin-bottom: 30px; max-width: 100%; width: 350px; } .progress-container::before { content: ""; background-color: var(--secondary-color); position: absolute; top: 50%; left: 0; transform: translateY(-50%); height: 4px; width: 100%; z-index: -1; } .progress { background-color: var(--primary-color); position: absolute; top: 50%; left: 0; transform: translateY(-50%); height: 4px; width: 0%; z-index: -1; transition: 0.4s ease; } .circle { background-color: #fff; color: #999; border-radius: 50%; width: 30px; height: 30px; display: flex; justify-content: center; align-items: center; border: 3px solid var(--secondary-color); transition: 0.4s ease; } .circle.active { border-color: var(--primary-color); } .btn { background-color: var(--primary-color); color: #fff; border: 0; font-family: inherit; padding: 8px 30px; margin: 5px; font-size: 14px; cursor: pointer; } .btn:active { transform: scale(0.98); } .btn:disabled { background-color: var(--secondary-color); cursor: not-allowed; } |